package com.stjb.furns.dao;

import com.stjb.furns.entity.Member;
import com.stjb.furns.entity.Order;

import java.util.List;

/**
 * @author situ
 * @version 1.0
 * @date 2025/5/29 20:45
 * @Description:
 */
public interface OrderDAO {

    /**
     * 将传入的对象保存到数据库order
     * @param order
     * @return
     */
    public int saveOrder(Order order);

    /**
     * 根据传入的用户id查找订单
     * @return
     */
    public List queryOrderByMemberId(int userid);



}
